package com.wang.learn.cloudiot.mapper;

import com.wang.learn.cloudiot.model.po.Pile;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

/**
 * @author Chen Nan
 */
public interface PileMapper {

    int insertPile(Pile pile);

    List<Pile> list(Pile pile);

    Integer deleteAll(@Param("time") Date time);

    Integer updatePile(Pile pile);
}
